.book-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;

  h1 {
    margin: 0;
    color: #1e293b;
    font-size: 2rem;
  }
}

.book-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-main {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

.book-cover {
  flex-shrink: 0;
  width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.book-info {
  flex: 1;

  h2 {
    margin: 0 0 1.5rem;
    color: #1e293b;
    font-size: 2rem;
    line-height: 1.3;
  }

  .book-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;

    .meta-item {
      display: flex;
      align-items: center;
      gap: 1rem;

      .label {
        color: #64748b;
        font-size: 1rem;
        width: 80px;
      }

      .value {
        color: #1e293b;
        font-size: 1rem;

        &.category {
          color: #3b82f6;
          background: #eff6ff;
          padding: 0.25rem 0.75rem;
          border-radius: 6px;
          font-size: 0.875rem;
        }

        &.price {
          color: #ef4444;
          font-size: 1.5rem;
          font-weight: 600;
        }
      }
    }
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    .stars {
      display: flex;
      gap: 2px;

      i {
        color: #f59e0b;
        font-size: 1.25rem;
      }
    }

    .rating-value {
      color: #f59e0b;
      font-weight: 600;
    }
  }

  .book-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
}

.book-description {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;

  h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin: 0 0 1rem;
  }

  p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }
}

.no-book {
  text-align: center;
  padding: 4rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  i {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
  }

  p {
    color: #64748b;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .book-main {
    flex-direction: column;
    gap: 2rem;
  }

  .book-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
  }
}
